var Mock = require('mockjs');

exports.response = function (req, res) {
    return Mock.mock({
        "code": 0,
        "msg": "OK",
        "data": {
            "unit|100": [
                {
                    "date": "@date('yyyy-MM-dd')",
                    "value": "@float(60, 1000, 2,2)"
                }
            ],
            "total|100": [
                {
                    "date": "@date('yyyy-MM-dd')",
                    "value": "@float(60, 1000, 2,2)"
                }
            ]
        }
    })
}
